package com.sky.mapper;

import com.sky.pojo.Merchant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper

public interface MerchantMapper {

    @Select("select * from merchant where id=#{id}")
    Merchant selectById(Long id);


    @Select("select * from merchant where id = #{shopId}")
    Merchant getShopAddress(Integer shopId);
}
